package com.cyx.mapper;

import com.cyx.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface UserMapper {
    User getUserByName(String userName);
    List<User> getUsers();
    User getUserById(Integer userId);
}
